package com.netposa.datawarehouse.bodysearch.service;

import java.io.Serializable;

public interface RequestIdService {
   RequestAssociateValue get(String var1);

   void set(String var1, RequestAssociateValue var2);

   String generateRequestId();

   void set(RequestAssociateValue var1);

   public static class RequestAssociateValue implements Serializable {
      private static final long serialVersionUID = 7247714666080613254L;
      private Long lastTime;
      private String lastRecordId;
      private Integer count;
      private String requestId;

      public Long getLastTime() {
         return this.lastTime;
      }

      public String getLastRecordId() {
         return this.lastRecordId;
      }

      public Integer getCount() {
         return this.count;
      }

      public String getRequestId() {
         return this.requestId;
      }

      public void setLastTime(Long lastTime) {
         this.lastTime = lastTime;
      }

      public void setLastRecordId(String lastRecordId) {
         this.lastRecordId = lastRecordId;
      }

      public void setCount(Integer count) {
         this.count = count;
      }

      public void setRequestId(String requestId) {
         this.requestId = requestId;
      }

      public boolean equals(Object o) {
         if (o == this) {
            return true;
         } else if (!(o instanceof RequestAssociateValue)) {
            return false;
         } else {
            RequestAssociateValue other = (RequestAssociateValue)o;
            if (!other.canEqual(this)) {
               return false;
            } else {
               label59: {
                  Object this$lastTime = this.getLastTime();
                  Object other$lastTime = other.getLastTime();
                  if (this$lastTime == null) {
                     if (other$lastTime == null) {
                        break label59;
                     }
                  } else if (this$lastTime.equals(other$lastTime)) {
                     break label59;
                  }

                  return false;
               }

               Object this$lastRecordId = this.getLastRecordId();
               Object other$lastRecordId = other.getLastRecordId();
               if (this$lastRecordId == null) {
                  if (other$lastRecordId != null) {
                     return false;
                  }
               } else if (!this$lastRecordId.equals(other$lastRecordId)) {
                  return false;
               }

               Object this$count = this.getCount();
               Object other$count = other.getCount();
               if (this$count == null) {
                  if (other$count != null) {
                     return false;
                  }
               } else if (!this$count.equals(other$count)) {
                  return false;
               }

               Object this$requestId = this.getRequestId();
               Object other$requestId = other.getRequestId();
               if (this$requestId == null) {
                  if (other$requestId != null) {
                     return false;
                  }
               } else if (!this$requestId.equals(other$requestId)) {
                  return false;
               }

               return true;
            }
         }
      }

      protected boolean canEqual(Object other) {
         return other instanceof RequestAssociateValue;
      }

      public int hashCode() {
         
         int result = 1;
         Object $lastTime = this.getLastTime();
         result = result * 59 + ($lastTime == null ? 43 : $lastTime.hashCode());
         Object $lastRecordId = this.getLastRecordId();
         result = result * 59 + ($lastRecordId == null ? 43 : $lastRecordId.hashCode());
         Object $count = this.getCount();
         result = result * 59 + ($count == null ? 43 : $count.hashCode());
         Object $requestId = this.getRequestId();
         result = result * 59 + ($requestId == null ? 43 : $requestId.hashCode());
         return result;
      }

      public String toString() {
         return "RequestIdService.RequestAssociateValue(lastTime=" + this.getLastTime() + ", lastRecordId=" + this.getLastRecordId() + ", count=" + this.getCount() + ", requestId=" + this.getRequestId() + ")";
      }
   }
}
